import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';

@IonicPage()
@Component({
  selector: 'page-login-or-register',
  templateUrl: 'login-or-register.html',
})
export class LoginOrRegisterPage {

  public backgroundImage = 'assets/login/f7@2x.png';

  constructor(public navCtrl: NavController, public navParams: NavParams) {
  }

  ionViewDidLoad() {
    console.log('ionViewDidLoad LoginOrRegisterPage');
  }

  login() {
    this.navCtrl.push('LoginPage');
  }
  
  register() {
    this.navCtrl.push('RegisterPage');
  }

}
